<?php
/**
 * @author Demianchuk Dmitro
 * @email d.demianchuk@gmail.com
 * @date 05.01.12
 * @version 1.0
 * @package application
 */
class MarkdownController extends AController
{
	public function actionToHtml(){
		$markDown = new CMarkdown();
		$markDown->purifyOutput = true;
		echo $markDown->processOutput($_POST['data']);
	}
}
